package com.ajl.wx.module.comment.service.impl;

import com.ajl.wx.beans.po.VideoCommentPO;
import com.ajl.wx.module.comment.mapper.TbVideoCommentMapper;
import com.ajl.wx.module.comment.service.ITbVideoCommentService;
import com.ajl.wx.beans.vo.BaseMap;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author HouXinLin
 * @since 2020-09-24
 */
@Service
public class TbVideoCommentServiceImpl extends ServiceImpl<TbVideoCommentMapper, VideoCommentPO> implements ITbVideoCommentService {
    @Autowired
    TbVideoCommentMapper tbVideoCommentMapper;

    @Override
    public List<BaseMap> listComment(int id) {
        return tbVideoCommentMapper.listComment(id);
    }
}
